deferred class IFACEA
feature
    test deferred end
end

deferred class IFACEB
feature
    test deferred end
end

deferred class IFACEC
feature
    test deferred end
end


class MERGE
inherit IFACEA
    redefine test
inherit IFACEB
    redefine test
inherit IFACEC
    redefine test
create 
    make
feature
    make
    do
    end
    
    test
    do
        std_output.put_string("HELLO FROM MERGE %N")
    end
end

class APP
feature
    INIT
    local  a: IFACEA;
           b: IFACEB;
           c: IFACEC;
           m: MERGE
    do
        !!m.make
        a:=m
        b:=m
        c:=m
        a.test
        b.test
        c.test
    end
end
